Return-path: Envelope-to: info@gluglug.org.uk Delivery-date: Fri, 04 Dec 2015 19:32:34 +0100 Received: from lists.gnu.org ([2001:4830:134:3::11]) by web006.ispnoc.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.85) (envelope-from ) id 1a4v9m-00031s-OY for info@gluglug.org.uk; Fri, 04 Dec 2015 19:32:34 +0100 Received: from localhost ([::1]:42385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4vAW-0001tH-Ey for info@gluglug.org.uk; Fri, 04 Dec 2015 13:33:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4v9y-0001Ff-QQ for grub-devel@gnu.org; Fri, 04 Dec 2015 13:32:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4v9x-0005T1-VU for grub-devel@gnu.org; Fri, 04 Dec 2015 13:32:46 -0500 Received: from mail.base45.de ([2001:67c:2050:310::a:2]:34296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4v9x-0005Ss-PW for grub-devel@gnu.org; Fri, 04 Dec 2015 13:32:45 -0500 Received: from [2001:1a80:2259:2b1a:6042:6096:1de7:42c6] (helo=lazus.yip) by mail.base45.de with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA256:128) (Exim 4.82) (envelope-from ) id 1a4v9s-0005Bc-8z; Fri, 04 Dec 2015 19:32:41 +0100 From: Alexander Couzens To: grub-devel@gnu.org Subject: [PATCH v3 3/3] Makefile/coreboot use SOURCE_DATE_EPOCH as time source if set Date: Fri, 4 Dec 2015 19:32:22 +0100 Message-Id: <1449253942-29510-4-git-send-email-lynxis@fe80.eu> X-Mailer: git-send-email 2.6.3 In-Reply-To: <1449253942-29510-1-git-send-email-lynxis@fe80.eu> References: <1449253942-29510-1-git-send-email-lynxis@fe80.eu> In-Reply-To: <1449245444-17579-1-git-send-email-lynxis@fe80.eu> References: <1449245444-17579-1-git-send-email-lynxis@fe80.eu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:67c:2050:310::a:2 Cc: Alexander Couzens X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: grub-devel-bounces+info=gluglug.org.uk@gnu.org Sender: grub-devel-bounces+info=gluglug.org.uk@gnu.org mkstandalone sets timestamps for files which can be overriden by a fixed_timestamp. This makes it possible to build reproducible builds for coreboot. To build a reproducible build of grub for coreboot do: export SOURCE_DATE_EPOCH=1134242 make default_payload.elf --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 994ebbd..5c756d7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -403,7 +403,7 @@ bootcheck: $(BOOTCHECKS) if COND_i386_coreboot default_payload.elf: grub-mkstandalone grub-mkimage - pkgdatadir=. ./grub-mkstandalone --grub-mkimage=./grub-mkimage -O i386-coreboot -o $@ --modules='ahci pata ehci uhci ohci usb_keyboard usbms part_msdos xfs ext2 fat at_keyboard part_gpt usbserial_usbdebug cbfs' --install-modules='ls linux search configfile normal cbtime cbls memrw iorw minicmd lsmmap lspci halt reboot hexdump pcidump regexp setpci lsacpi chain test serial multiboot cbmemc linux16 gzio echo help' --fonts= --themes= --locales= -d grub-core/ /boot/grub/grub.cfg=$(srcdir)/coreboot.cfg + pkgdatadir=. ./grub-mkstandalone --grub-mkimage=./grub-mkimage -O i386-coreboot -o $@ --modules='ahci pata ehci uhci ohci usb_keyboard usbms part_msdos xfs ext2 fat at_keyboard part_gpt usbserial_usbdebug cbfs' --install-modules='ls linux search configfile normal cbtime cbls memrw iorw minicmd lsmmap lspci halt reboot hexdump pcidump regexp setpci lsacpi chain test serial multiboot cbmemc linux16 gzio echo help' --fonts= --themes= --locales= -d grub-core/ /boot/grub/grub.cfg=$(srcdir)/coreboot.cfg $(if $(SOURCE_DATE_EPOCH),-t $(SOURCE_DATE_EPOCH)) endif endif -- 2.6.3 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel